import request from "@/utils/request"
import config from "@/config/index"

// 登录
export const reqLogin = (data: any) => request.post('/login/account', { ...data, terminal: config.terminal })

// 退出
export const reqLogout = () => request.post('/login/logout')

// 用户信息
export const reqUserInfo = () => request.get('/auth.admin/info');